SliderAdLoader

class SliderAdLoader(context: Context)

Class containing controls for slider ad loading.

Parameters

context

The activity context used to retrieve the application context.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard

Cancel loading the native ad.

Link copied to clipboard
suspend fun loadAd(adRequest: AdRequest): SliderAdLoadResult
suspend fun loadAd(adRequest: AdRequest, options: NativeAdOptions): SliderAdLoadResult
fun loadAd(adRequest: AdRequest, listener: SliderAdLoadListener)
fun loadAd(adRequest: AdRequest, options: NativeAdOptions, listener: SliderAdLoadListener)

Start loading the slider ad on a background thread.